Sys Task never ends + Cube (sysCube) + Custom External Code

Hi All ,

I am using a workaround to be able to run an scheduled task using the syscube table Basically everytime the task agent call for that particular process set , I have a condition that look for that particular cube and then run the code I want. I have all my data directives in the syscube disabled except for one , but for some reason it never stop running, have you ever found a similar issue, even if my code has an exception the system task is still running. Have you guys done something similar and experience the same issue?

Thanks a lot,

image