Fix grammatical errors in the following paragraph.
He didn't have time to get scared because all what he was thinking was why he doesn't wake up at once.
He didn't have time to get scared because all that he was thinking was why he didn't wake up at once.