The sensor is open once the object is initialized. Split the sensor open and sensor logging.