Add error prefix in case of SocketException