The other thing you could do is wrap your done function in Dispatcher(). By default it is wrapped in FunctionDispatcher, which holds the job until the function returns. Dispatcher does not hold the job, so the job will finish. You should do this only if the done function does nothing that must be complete before another job runs.
|