Reuse the prepared connection or create a prepared Gradle connection