Problem with the connection between server and client