fix busy loop when enough clients