When destructing the VendRequest, check to see if $this->curl is a resource before freeing it. It won't be a resource if a number of VendObjects's have been serialized and unserialized.