worker log file can include hostname & port number
adds code to re-connect to worker when connection is closed by peer
debug: forgot to import
fix: wierd way of sleep
easier message when connection is refused