Speed up the test by shutting down the component when done.
rt.cpan.org 92985. Ideally resolve "Not an ARRAY reference" at shutdown.

I haven't encountered the problem myself, but I see where it could
happen, thanks to the bug report.  This change should fix it, but I
haven't got a test case, so no absolute guarantees are made.