allow the agent to be in STATUS_SLEEP as well as STATUS_RUNNING
Merge pull request #17 from l1ll1/master

allow the agent to be in STATUS_SLEEP as well as STATUS_RUNNING