Add timeout to ServerConnection socket.connect()