test connection timeout