Avoiding one's tail is a part of traditional Snake style gameplay. Unfortunately, we don't have a way to detect when you're stuck - would have been cool to get a game over state for that in if we had time!
If it's helpful, you can use R to restart so you don't have to wait for the timer to elapse.