A FoundationDB object with native resources that can be freed. It is not mandatory to call
dispose() most of the time, as disposal will happen at finalization.
Dispose of the object. This can be called multiple times, but care should be
taken that an object is not in use one another thread at the time of the call.