[sensorfw] close file descriptor