Add stop command.

Resolves #9.