Fixed: waiting idle state in clientAPI based states