corrected unit files to stop gracefully