Dispos of the cancellation token source at the end of the background tasks.