Close camera window when stream connection is closed

Now an event is generated when the connection used to play a stream is closed.
This event forces the view window to be closed for all affected streams.