feat(agent): Tear down units on startup

Fix #407