You shouldn't keep yourself from falling asleep. You need to fall asleep to have a dream. Just try to keep your mind busy enough that you don't lose focus completely. You need to stay right on the cusp of unconsciousness. Try linking a visualization with counting. For example, imagine walking down stairs, counting each step. Or climbing a ladder, counting each rung. Or opening doors, ect.