Made client thread to send information to the server