Changed to proper async snippet
Added async to waiting and added missing semicolon