First, you need to wait longer than 3 seconds after the Cube reboots.

Second, you may need to restart the Stratum Proxy.
You didn't post any info about the settings you're using for your mining_proxy.exe.
Lastly, ensure 8330 is open on any firewall running on 192.168.0.17.