Stop running the current stream upon stop command

The exit command ends the stream but it also terminates the program. It
would be useful to have a command that ends the stream but lets the
program continue. Add a stop command that implements the desired
feature.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>