Improve error reporting of timeouts