Made `hasInstance` for `LowLockSingleton` synchronized.