improved error output in case of timeout