Be robust against socket errors with the master

Saw this problem in a network downage on my pc.

We must keep spinning!