All: fix regression in The HTML5 client (endlessly streaming from the server)

Link: https://github.com/sebhtml/Ray-Cloud-Browser/issues/39
Signed-off-by: Jean-François Erdelyi <jean-francois.erdelyi.1@ulaval.ca>
Reviewed-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>
Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>