Added ITaskDisposable (disposables that execute tasks on disposal).