title: Trying to run an app on Window Task Scheduler, the task will just run till it time out
body: <p>I want to run my app with Window's Task Scheduler.<br />
  The issue I am facing right now is that the app runs fine when I manually run it(.exe). When I set up the schedule task to run it, it started the app(I can see it being run in task manager), but it is running forever(runs till it time out). The amount of time it take to run from start to finish is around few seconds when I ran it manually.</p>
  <p>My guess is that the Task Scheduler is stuck at the Form window? but I do have logic in the Form load method that will auto close the form when it is done.</p>
  <p>Follow up: I added the log in the form load method, and the log file didn't get created, is that mean my form didn't load?</p>