And this code looks like it will never be executed: either we succeed setting it in the try/except, or we get an error there and jump out of the function before we reach this line. Cleanup time?