Closed sockets, added realine in client