[TEST] use more terminate calls and wait for termination