Resolve deadlock between SIP registration and channel based functions