Added task for disposing unmanaged resource