yeah man I had this same exact problem ( still do actually )
I think girth hammer is right, your mind is whats causing it, because right when you sit down to stretch, you're going to be thinking, damnit, I'm gonna get a boner. this happens to me a lot lol. I just take my time then