Change SetCollectorCommand to use a nested command.

The SetCollectorCommand will now spawn off a nested command so that
it can always exit instantly.