add more error checking for couchbase python client removal