Fixed bug where slave terminated after bad command

Fixed bug where slave dropped out if master restarted.
Slave now attempts to reconnect, and retries this every 5 seconds until stopped. Perhaps add a 10 try timeout?

refs #30 @1h00