Made sure socket.exists() works