End dispatcherLoop after Close() has been closed