fix processResponse panic handling

processResponse sends StreamError and net.Error in the token channel
two times