Implemented solution described by Ashoat here https://linear.app/comm/issue/ENG-9547/dms-created-when-ashoat-opened-web-app-after-not-touching-it-for-a#comment-5c104d82
waitForConnection is a bit ambiguous name but I couldn't think of a better one. waitForTunnelbrokerAndKeyserverConnection seems to long? I'm open to suggestions