networksims demos: Incorrect shutdown on a port