Another Registration is in process - Ionic Push (ionic-v1)

I am using ionic cloud to push notifications to devices. Everything is working just fine on the android device and i also am getting messages. But on iOS while trying to register, the call to ionic server does not end. Therefore while trying again it gives me the error “Another Registration in process”.

I am using IONIC-V1, and plugin for ionic-push-v5

(You are aware that Ionic Push is deprecated and will go away in 2018? Do you really want to spend more time here?)