Changed test project to .net5 Changed ThreadPool to use CancellationTokens
Nit fixes. Fixed e2e tests. Added MIT license.