I am using BitcoinZ Wallet 1.1.0_1.2. I got an error similar to this. Here's how I fixed it:
1. Close the Wallet.
2. Open a Windows Command Prompt in Administrator mode.
3. Type in at the prompt> netsh winsock reset
4. Wait for the message stating success - this includes that the computer must be restarted.
5. Close the command prompt.
6. Shut down (turn off) the computer.
7. Turn on the computer.
8. Open Bitcoin Z Wallet.
This worked for me.
Something is getting corrupted with the sockets - they are not getting reset or disconnected in the correct sequence. It has been more than 10 years since I programmed Java opening and closing sockets in the correct sequence.
Hope this helps.
Oh man I tried this, but it did not work for me!!!