A clever way to stop leaks