apns: fix infinity feedback loop