Fix handling of brutaly killed processes (Closes #60) and (Closes #94)