Fixed bug which causes process_temperatures.py to fall over if the internet is down