Connection timeout handling