fix connection timeout