What is the alternative meaning? To be, the comma changes nothing. It's unambiguous either way.
vs.
The next time you catch one, Lennie, avoid killing a mouse by strangling it.
...
Do you strangle it to avoid it, or do you avoid strangling it? The age-old question.