20130627 Stop communication when read input stream error.