Handling dump socket exceptions