anti-infi loop measures taken