WIP: SocketException handler