but sleep stole treacherously over him : his head drooped , his eyelids sank shut , and then the wind shifted , or a branch rubbed along his wing , and he managed to jerk awake again ; he nosed anxiously at the egg and made sure all was well , and then the enemy sleep was creeping up again .