Newer Ansibles use atexit.register() to invoke cleanup, so we need to run those registrations after each run.