Remove the static method from SocketException