I've seen these kind of problems in Maple for many many years now and it is still not fixed with each release.
Occasionally, a call to buildin function hangs in Maple, even with timelimit.
I never once had such a problem using Mathematica. Timeouts always work there. I do not know why it does not work each time in Maple. Must be something to do with the internal design of the kernel.
The problem also is that I can't even stop it once it hangs using the STOP button in the menu. (when I try this in the GUI, but most of the time I run things as script).
It is actually the server itself which is spining out of control. Task manger in window shows it at full CPU use. When this happens, only way to get out is to terminate Maple from windows task manager. Here is an example
sol:=1/24*ln(9*x^2*y(x)+2)+1/8*ln(x^2*y(x))-1/24*ln(1+3*(4*x^2*y(x)+1)^(1/2))+1/8*ln((4*x^2*y(x)+1)^(1/2)+1)-1/8*ln((4*x^2*y(x)+1)^(1/2)-1)+1/24*ln(3*(4*x^2*y(x)+1)^(1/2)-1)-1/2*ln(x)-C = 0;
ode:=x^3*diff(y(x),x)^2-(1+2*x^2*y(x))*diff(y(x),x)+x*y(x)^2 = 0;
Sometimes, it does not hang. But next time it could hang. If you try the above and it does not hang, please try to increase the time out to say 3 minutes, it could hang then.
If the timelimit is small, there is good chance it will not hang.
The longer the timeout is, the more likely it will hang. This does not happn all the time, but on random cases like the above.
This is one of the worst problems I face when using Maple. I never know if a script will run to completion or not when I start it, since it could hang any time.
I asked about this before.
I am now hoping to see if there is any new insight into this problem and any workarounds.
Maple 2020.1 on windows 10 with lots of RAM.