serve goroutine must refer to the local conn
Merge pull request #372 from srid/goroutine-scope

serve goroutine must refer to the local conn