Import get_failed_queue from top-level package