Fix high CPU utilization
Fix high CPU utilization

The high CPU utilization was caused by busy-waiting in the streaming thread.

OliverF/mjpeg-relay,Silex/mjpeg-relay,OliverF/mjpeg-relay,Silex/mjpeg-relay