Is it a bug or a new battleye defense?

Im using a reconect to solve the kicks problem in protected servers, It was working, but today its work once or twice, then stop to work.

auto(1000)
if not $connected then
reconnect()
wait(3000,5000)
end
Someone can help?