fix the connection timeout