Catch IOError in apns connection.