Make flush really async and use promise wait accurately  (#212)
Make flush really async and use promise wait accurately  (#212)

* Fix async issue

* Remove unused reference var

web-push-libs/web-push-php,Minishlink/web-push