Adding threading for the temp sensor reading