Update SocketConnection.php