If his net can catch an optimal number of bees, then just enough escape to make the catch challenging and fun. Harmonious functioning is like using a net with a few holes. The few escaping bees produce optimal search, learning, or arousal. It as if the bee-catcher likes to have just enough bees escape so that he can prevent boredom. An optimal degree of matching between input and expectations causes resonance .
Resonance causes optimal stimulation and arousal.
It may be the root cause of the emotion of happiness. This resonance between brain cells is similar to members of an orchestra playing together in harmony. An optimal degree of matching between inputs and predictions is the state that causes optimal learning and optimal stimulation. It is like fitting a key piece of a puzzle together. I believe that this type of resonance within our cognitive systems is the neural basis for our experience of optimal stimulation, peak experience, or flow.