Fix socket flushing only fetch one item