KV: export close() method

Signed-off-by: Eduardo Silva <edsiper@gmail.com>