Added patch to fix ending the call