Clean up reset/restart services logic and avoid abrupt Exit() from service