Removed #if HAS_AWAIT since I did not use await after all.