Fix connectivity with the server