Close handles in KEGG doctests
Close SearchIO indexes in doctests to avoid ResourceWarning