Torpor.
Torpor is not exactly like sleep in humans but it is a sort of "suspended state" wherein the insect is minimally aware of its surroundings. Environmental stimuli like sudden sounds or movements can get the insects out of their torpor very quickly, typically within a matter of few seconds.