Fix leaking couchstore handles
Fix leaking couchstore handles

Change-Id: Ib24667fe6c7cbf2c1cf25a20758b1f8157031786
Reviewed-on: http://review.couchbase.org/34394
Tested-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>
Reviewed-by: Chiyoung Seo <fcffc23db27b19ee4ebba46695ee6b50e09216a2@couchbase.com>

hisundar/ep-engine,daverigby/kv_engine,jimwwalker/ep-engine,teligent-ru/ep-engine,daverigby/ep-engine,sriganes/ep-engine,owendCB/ep-engine,daverigby/ep-engine,owendCB/ep-engine,jimwwalker/ep-engine,membase/ep-engine,hisundar/ep-engine,membase/ep-engine,daverigby/ep-engine,sriganes/ep-engine,daverigby/kv_engine,membase/ep-engine,hisundar/ep-engine,couchbase/ep-engine,sriganes/ep-engine,owendCB/ep-engine,daverigby/ep-engine,daverigby/kv_engine,couchbase/ep-engine,jimwwalker/ep-engine,teligent-ru/ep-engine,hisundar/ep-engine,owendCB/ep-engine,teligent-ru/ep-engine,couchbase/ep-engine,sriganes/ep-engine,daverigby/kv_engine,membase/ep-engine,couchbase/ep-engine,teligent-ru/ep-engine,jimwwalker/ep-engine