Latency/bandwidth issue.
Also, there are system load:
also, there are mysterious temperature_logger.py
temperature_logger.py
BTW, this is not a good idea to modify files and add random code commands.