small async code simplification