Better mutex granularity
Z3 does not need the lock