Flushed the socket before it ends