restore error checking on apns.apns_send_bulk_message