detecting faulty draining operations