perapp: kill the service with fire

Under some conditions it was possible for the service
to run forever, even if it was disabled via the user.

To properly shutdown the service we kill it in any case.
Also giving the service itself the ability to stop itself
if it detects that it shouldn't running.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>