added support for the timeout error