That's why you create unemployment benefit, preferably in a way that does not discourage going back to work.
This way, works with starvation wages don't exist, and low-skilled workers have a chance to prepare for their next job (and even to be a bit picky). In my view this improves the job market much better than a race to the bottom in working conditions and salaries.