Exit cli with failed status if run_stream fails

Let run_stream return success or failure and use it to set the status
code when the program exits.

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