Refined play/pause/stop controls to WiFiSensor thread