Functional API deadlock: parent task blocks on child task while holding bounded executor slot
When a task calls another task and waits for its result, the parent worker thread blocks on Future.result() while the child task is submitted to the same bounded executor. If all executor slots are occupied by such waiting parents, the child can never start and invoke() hangs forever.
