fix(agent): Start/stop units asynchronously

Fix #466