Use a shared function for requesting a new connection