Fixed a bug that too much error reporting will be executed if without clearing invoking_queue_id.