Fix: Exception in AsynchronousWaitDialog, when asynchronous operation ends in a narrow time range before dialog is shown.