Make reconnect on socket error more friendly to the server
(don't hammer it 100s of times if it keeps failing).