Set 10 seconds timeout when connection to server