Thanks for the reply. Unfortunately removing the await after the echo it refuses to compile.
if i keep the await and put asyncCheck it complies but does not print any response. Finally, if instead of asyncCheck i use waitFor it prints everything as expected, but does it in a synchronous way.