High CPU usage after migration to OH4

For me the is not the case. In my case, when it happens, the cpu pins at 100% and stays there until I do something about it. Either I must restart openHAB or run a script Cody wrote found in this post

Here is the script. I just use the run now button to run it

org.openhab.core.common.ThreadPoolManager.field_reader :pools
tp = org.openhab.core.common.ThreadPoolManager.pools["safeCall"]

def unblock_thread_pool(tp)
  (tp.maximum_pool_size + 1).times do
    tp.submit { sleep 1 }
  end
end

unblock_thread_pool(tp)