Fixing threading issue with Dispatcher test