await applicationInsights.flush(); never completes @microsoft/applicationinsights-web 3.3.9 used with Typescript I think it is because in Sender.js flush(isAsync, callBack, sendReason) the callBack is never called.