<human>: Could you distill the essence of the text into 1-3 sentences?

We've been dating for over three years and for the most part he is wonderful. In the past year or so every time I stay over at his place or he stays over at mine I can't sleep properly because he's always moaning (loud enough to hear his moaning in another room) and jerking off in his sleep (just to clarify he doesn't reach an orgasm and come all over the place in his sleep but he'll be stroking his dick all throughout the night). Some days it gets really unbearable not only because it wakes me up several times a night but it also chips away at my self-confidence as I'm exposed to him dreaming of others and having these fantasies on a regular basis. 

I don't know how to approach it rationally. I find myself losing my cool a lot and I don't want to get mad at someone I love for having a sex dream. We've talked about it and he just rolls his eyes and assures me he doesn't want anyone else and tells me not to get angry at him over stuff he does in his sleep. Any advice?
<bot>: BF strokes his dick in his sleep and moans on a nightly basis. I can't sleep and I'm losing my cool regularly.