Increment reference count to prevent garbage collection