[DROOLS-206] avoid deadlock when reading globals