Improved dynamic server connection