Fix check for workers in safari
unshift idle threads so we don't have to spin up as many workers