Object which extends SimpleCommand to provide a method for executing
a command in a Thread. The thread for the command may be interrupted,
so this interface defines a method by which the command can be notified
of the interrupt, so it can do whatever cleanup it needs to do.