he grabbed for the corner of the dog shed in order to keep from falling over , and for several moments stood frozen like that , doubled over to one side , shivering and riding out this flaring , knifing pain .