rowcache: bug fix on closing of CachePool