The school was forced into an emergency closure after its toilets began to flood and is now having "robust" talks with Thames Water.