I had read somewhere that if you compile your exe with the name "Services.exe", it can not be end tasked.

Give it a try

Pradeep