- fix socket exception bug