So some more tests. I see in your code you are sending 10000 time out. These errors always return after exactly 10 seconds. If I change the IP to some random non-used IP on the network, I do see a Timeout prompt suggesting 'Wrong ip?'. But if I use the correct IP, either with correct login details, or wrong username, or no password but right username, I always get the exception thrown.