[sr-dev] git:pd/outbound: modules/registrar: fixed lock usage in unregister()