Displaying error message if request times out