Close rtmp connection when stream is stopped.

This will close the connection to the server when the stream
is stopped.