[Git][openldap/openldap][master] ITS#9045 rlock only if there may be other threads