added task to toDispose list