Interrupt receiving thread on disconnect.