If you make this an atomicReference, you can CAS the value in/out.