retry if server fails to connect to event socket