Handle timeouts (show an error message and increase metric's value).