Make task runner disposable