retry_work and scheduled_work check during wait_for_task_or_scale and rspecs