This is really the earliest we can expect the cleanup function to actually succeed.
Clean up environment changes.
Link to the issue about fixing what we do with the output of these commands.