Use sys.exit() to exit()
Exit with status code 143

As per http://unix.stackexchange.com/questions/10231/when-does-the-system-send-a-sigterm-to-a-process