deal with exited processes