Added test to test ThreadMethod.Dispose before completion
Added test to test ThreadMethod.Dispose before completion

ThreadMethod.Dispose now cancels the task if it is still running.  This tests that it completes correctly when disposed.

mode51/Tungsten