added option to disable autoreopening a scoket after a disconnect
it was interfearing with my method of catching crashing mpds and
relaunching them