Use channel to prevent data race
Fix iteration of connection pool and go fmt