async is needed to have the logging appear in the task