AGENT_STATE_SUSPENDED
agent->state = AGENT_STATE_SUSPENDED;
if (agent->state != AGENT_STATE_SUSPENDED &&
if (agent->state != AGENT_STATE_SUSPENDED) {