Not 100% sure(at the moment) but do recursive functions freeze up the whole PocketMine server/main thread?
Your plugin runs on the main thread, if it freezes, the main thread freezes. But a proper recursive function has an exit condition and doesn't freeze anything.