Refactor SensorTag for continuous connection