check whether scheduler_ref is None