removing invalid assertions that shutdown must preceed closing