add warning commet for conn.Write would block.
use close Channel instead of send Channel for goroutine exiting.