AtomicReference introduced to remove the field, in order to avoid side-effects
Merge pull request #1 from giancosta86/solution1_take2

AtomicReference introduced