Fix activity timer so it's tied to the process lifetime
Fix activity timer so it's tied to the process lifetime

Having the activity timer running when the process itself wasn't meant a
newly-started process might be shut down immediately.

zerowidth/ringleader,zerowidth/ringleader,zerowidth/ringleader