In the context of the paragraph, he is about to be faced with a nest of wasps - stinging wasps! If "things get too hot" means if things get out of control with wild and angry wasps after him, then matters will have become "hot." He is prepared to get out of there if this happens. In English there's a saying: "too hot to handle." With this idiom, "hot" is a condition (dangerous or difficult) and not actual heat such as a stove or fire.