ANS works correctly when client changes connections