<human>: I have been sleeping with my friend on and off since I met him 3 years ago. We started out just being f*** buddies but then started hanging out more, without sex, and became friends. We have been in other relationships and didn't have sex during those times, but we did talk a lot and spend time together. 

Now we're both single and back to being friends with benefits, but still, lots of our days and nights spent together we don't even have sex even though we share a bed and cuddle.

We've been through some really crazy and intense stuff together for never having a relationship. It has made us super close. We definitely "love" each other in a friend way but I have been fighting back my feelings for him for so long. He doesn't have them for me, the way I want him to. So I have FINALLY hit a wall where I'm going to stop sleeping with him.

But due to the nature of our friendship and how we are always there for each other when either one is going through a hardship, I want to still be his friend. We both agree that we need each other's friendship. 
The question is, how do I break it to him that we can't have sex anymore? I know for a fact he will still want to be friends and hang out. And so will I! I will be fine as long as we stop having sex.

But what is the best way to tell him? Before we go up to his room for the night? Cause sometimes we just sleep next to each other so it's not always a given that if I go to his room we're gonna have sex. Should I tell him as he's trying to have sex with me, in that moment? Any ideas would be much appreciated. I just want to be as chill about this as possible.

Give me the gist of the text in a nutshell
<bot>: ! What's the easiest way to tell your friend you don't want to sleep with him anymore, while he's trying to have sex or before you hang out, or while you're hanging out?