change the way started processes are tracked

fixes #357