`GWarn->BeginSlowTask` Not working in UE 5

Hello,
I’m migrating my plugin to UE5 but the problem is GWarn->BeginSlowTask is not working to show some information about the progress happening in background to users.
Any idea how to fix this problem my code was working great in ue4.