reconnect maybe on socket write errors