adds import statement, fixes async parallel wait exception handling