Fix call to NewConnection.