I had a large female that would do this up to four times a night before I started gently tugging on the tail while she was coiling it. Simulating the rat struggling seemed to fix the issue. She's only done this once in the past 6 months now.