public async Task <Bme280.Measurement> GetMeasurementAsync() { try { await InitializeAsync().ConfigureAwait(false); var measurement = await _bme280.GetMeasurementAsync().ConfigureAwait(false); return(measurement); } catch { _device = null; _bme280 = null; _initializeTask = null; throw; } }