Fixed SPI delay time. This was causing huge delay in the read_temp and ruining the processes execution.