fixed async serial control flow