Preventing future flash flooding in the metro