fix bug when a holon shutdown itself, add auto_shutdown option on agentmanager and add test file for it