Fixed concurrency issue in simple id cache. The lget() of a map can only be used if the map isn't shared.