Improved waiting operation error logging.