OAK-3438: RDDocumentStoreDB - fix one time ResultSet leak (and remove unused imports) (ported to 1.0)