Handle timeout during wait methods (case 612251)