handle errors, like ECONNRESET, on the socket

the socket, that was passed on to the worker, occasionally threw errors (like ECONNRESET), so at least handle&log the error