Tests: Mitigate race condition in test_clientagent with set_state
Tests: Mitigate race condition in test_clientagent with set_state

blindsighttf2/Astron,pizcogirl/Astron,pizcogirl/Astron,ketoo/Astron,pizcogirl/Astron,blindsighttf2/Astron,ketoo/Astron,pizcogirl/Astron,blindsighttf2/Astron,ketoo/Astron,blindsighttf2/Astron,ketoo/Astron