connection pool bug fixed