Can you add an assert about the scheduler not nil and not immediate?