Hi,
Try using FPlatformMisc::RequestExit(0); and see if that works for you.
FPlatformMisc::RequestExit(0);
Cheers,