Resource pool cleanup, external_dbs is an array now