Added close() to readable cdb.