Better handling of video start/stop and thread idle