fix db connection pool bug