fixed service finish method to run after service processes are killed