moved unlock sensor before starting api.write
moved unlock sensor before starting api.write

Unlock the sensors as soon as we are done reading. Sending data to the API
server may take a long time but need not interfere with subsequent sweeps.

jparker/therminator_client