res_pjsip_registrar: lock transport monitor when setting 'removing' flag