message: Add another try/catch to CapturableResource destruction to avoid stderr spam
  Otherwise, race conditions from resource freeing at program exit lead to TypeErrors.
diff: @@ -262,8 +262,12 @@ class CapturableResource(base.Trackable):
  }
  def __del__(self):
  + try:
  + # Outer race condition: on program exit, the destruction context may be
  + # deleted before this __del__ is called. At this point we can safely
  + # exit without calling _destroy_resource() and let Python handle things.
  with self._destruction_context():
  - # There is a race condition between this and `ScopedTFFunction`
  + # Inner race condition: possible between this and `ScopedTFFunction`
  # whereby if an entire garbage collection chain containing both
  # objects is moved to unreachable during the same garbage collection
  # cycle, the __del__ for `ScopedTFFunction` can be collected before
  @@ -274,6 +278,8 @@ class CapturableResource(base.Trackable):
  except defun.FunctionAlreadyGarbageCollectedError:
  pass
  + except TypeError:
  + pass
  class TrackableResource(CapturableResource):
  