J'ai eu peur de m'endormir en conduisant.
I was afraid I might fall asleep while driving.