Improved error output when queue hangs.