Show warning message if sending the timeout report is failed
Fix the test case for timeout handling