Use a static lifetime for partition local thread keys.