pjsip: race condition in registrar