make sure the watchdog plugin closes the sockets - refs #588