Improved worker

Resend register request if socket was timed out.
work() method now unimplemented in base class.