Overcome limits on the number of devices that notifications can be sent to. Fix copied from https://github.com/ramigg/apn_on_rails