Disconnecting washine machine and checking for leak