fixed a bug where killed containers wasn't removed from the agent apps list