Execution does not await for the tryTo block

I am trying to use the tryTo plugin for the first time but I am having some issues.
My code is somethingl like this:

await tryTo (async() => {
…await I.waitForElement(…)
…await I.callSomeCustomFunction()
…await I.checkSomeStuff();
})
await I.lastStep();

The problem that test does not wait for the entire tryTo block to complete. So, I.lastStep() is executed somewhere between I.waitForElement(…) and I.callSomeCustomFunction() from previous code block.

I updated codeceptjs to the last 3.3.3 but this didn’t help either.

Any ideas / suggestions ?