Extract server part to separate module (continue8). Reconnecting to server after it's failed.