fixed db connection pool cleanup method