add connection timeout