use Testkit shutdown instead, it will await termination