Fixed socket_read error