ProcessManager: bugfix: state should gets updated also when it's killed/term'ed