Calling "Dispatcher.InvokeShutdown" in the CleanUp of unit test cases