Dispose Threads

IDisposable and CancellationTokenSource implemented to exit Threads.