1. A method comprising: tracking a first set of execution contexts inducted into a scheduler in a process executing on a computer system; tracking a second set of execution contexts created within the scheduler; and finalizing the scheduler prior to the process completing in response to all of the execution contexts in the first set of execution contexts exiting the scheduler and all of the execution contexts in the second set of execution contexts being retired by the scheduler, the finalizing including allowing the first set of execution contexts to continue to execute tasks in other schedulers subsequent to exiting the scheduler.