fixed a deadlock: when BBPunshareenters decref() it *must* unlock before saving. Now decref expects the lock to be set, and unlocks it properly.
fixed a deadlock: when BBPunshareenters decref() it *must* unlock before
saving. Now decref expects the lock to be set, and unlocks it properly.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb