Proper logging of connection lost
Much more logging in the batchWorker