Gracefully handle failed serializations.