wrap MainThreadDispatcher/Scheduler complete