Cleanup ThreadLocals on completion.