Visual Studio 2019 On Windows Server 2012

Hi, My existing application was in PowerBuilder 12.5 and migrated the application to PowerBuilder 2019 and running in Windows 10 version 1903 desktop. When I run the application exe, the application runs fine. But when I exit from application or X it out, the application closes. But the exe is still runs in the background process which I can see in the task manager. Anyone faced this issue or what is the root cause of this issue. Any insight is greatly appreciated.