Make MJPEG stream closure more robust
It's important to remove error
listener once connection is closed, otherwise uncaught error, like the 'aborted' one, may occur.
It's important to remove error
listener once connection is closed, otherwise uncaught error, like the 'aborted' one, may occur.