Maybe it was a one-time thing. If it happens again, elucid's suggestions are good. Maybe you could even tell the dream to "wake you up".