Improvements of async connection timeout