The convection current continues till the entire medium acquires the same density. The medium near the heat source expands and thus becomes less dense, so it rises up an the medium from the surrounding and above being denser, moves to takes its place.