Using await but the function returns right away I have a function that I am trying to call which has below signature