Protect against Java side garbage collection.