Subject pretty much explains everything. Just think: In real life, would you be able to run when you're heavely damaged? No? But of course: it will be hardest thing.
So, the idea is: When players health is low (25 HP or less), the shift button will no longer make him run. That's all.
Pretty simple idea, adds abit of realism and balance.