reset socket_ready