Disables socket.connect