Fix infinite loop

'While' cycle has no client verification