fixed 'use of closed network connection'

the close of client conn is very critical