improvement of socket connection timeout handling and reporting