handle the case w/o local varialbes; register __async