async main cycle for multiple statements