Windows shell integration: Do proper wait