fix: A slave should be shut down only if idle and
DEFINITELLY NOT after loosing the connection to the master
due to network problems or the slave process crashing.