It's a risky calculation that leaves workers caught in the middle.