"No connection could be made because the target machine actively refused it".
You were refused, that's not a networking problem it's intentional by the server. Your IP was likely banned temporarily.
Are you switching too often which could trigger protection mechanisms by the pool?