make connection more robust for toxic

Instead of making one connection attempt at startup, it keeps trying to connect until a connection is established, and also tries to reconnect after a DC.