 Dave stopped as the door closed behind him.
As soon as the door closed, everything got dark.
mnli hypothesis: As soon as the door closed, everything got dark. premise:  Dave stopped as the door closed behind him.