can't hold kyotocab DB handles open

They aren't like SQL connections; open/close as needed.
Also, specify whether opening as reader or writer to avoid
unnecessary file locking.