fix for incorrect isNew() behavior 

Is this field accessed by multiple threads? If yes, then probably there is a missing happens before relation ship and this can be solved my making the field volatile.