Once they get enough mud in the well to overbalance the formation (stop any upward flow of well fluids) they will be able to pump in a big slug of cement and plug the thing off. If they don’t wait until that point the cement will likely be gas cut and will not work!