Threads in Sensor now terminate when stop() is called