Fix Internal Exception Socketexception Connection Reset

Fix Internal Exception Socketexception Connection Reset