test state change even with RPC timeout
Merge pull request #766 from newbrough/test_agent_timeout

test state change even with RPC timeout