reference count to make sure we arent accessing any instances of a closed mmapped segment