So if a program exits for some reason, we try to send all data one last time ? https://docs.python.org/2/library/atexit.html Makes sense ?