changed setUserContext method to be thread safe: TRUNK-3181
TRUNK-3181: Changed setUserContext method to be thread safe