Repository: quarkusio/quarkus
Issue: Error occurred while destroying instance of bean io.quarkus.oidc.client.OidcClients

### Describe the bug

Hi!

I discovered a problem with the oidc client that occurs when you shut down an application.

I am using Quarkus version 2.3.0.Final and the dependency:
``` 
<dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-oidc-client-filter</artifactId>
</dependency>
```

The application.properties is the following:
```
quarkus.oidc-client.client-enabled=false
quarkus.oidc-client.CITIZEN-MAPPING.auth-server-url=${API_GATEWAY_ORIGIN}
quarkus.oidc-client.CITIZEN-MAPPING.token-path=/token
quarkus.oidc-client.CITIZEN-MAPPING.discovery-enabled=false
quarkus.oidc-client.CITIZEN-MAPPING.client-id=${CONSUMER_KEY}
quarkus.oidc-client.CITIZEN-MAPPING.credentials.secret=${CONSUMER_SECRET}
```
The code in the filter-class:
```
@RequestScoped
@Priority(Priorities.AUTHENTICATION)
public class CitizenMappingOAuth2Filter implements ClientRequestFilter {

    @Inject
    @NamedOidcClient("CITIZEN-MAPPING")
    Tokens tokens;

    @Override
    public void filter(final ClientRequestContext requestContext) {
        requestContext.getHeaders().add(HttpHeaders.AUTHORIZATION, "Bearer " + tokens.getAccessToken());
    }
}
```
The code in the service-class:
```
@Path("/1.0")
@RegisterProvider(CitizenMappingOAuth2Filter.class)
@RegisterRestClient(configKey = "CITIZEN-MAPPING")
@ApplicationScoped
public interface CitizenMappingService {

    @GET
    @Path("/citizenmapping/{personId}/personalnumber")
    @Produces(MediaType.TEXT_PLAIN)
    String getPersonalNumber(@PathParam String personId);
}
```
I run my application in a docker-container and starts the container with `docker-compose up` and shutdown the application with `docker-compose down`.

The problem that occurs is the following:
```
2021-10-21 10:15:10,044 ERROR [io.qua.arc.imp.InstanceHandleImpl] (Shutdown thread) Error occurred while destroying instance of bean [io.quarkus.oidc.client.OidcClients_777be49f5563055569a690ceca758ae0746df06b_Synthetic_Bean]: io.quarkus.oidc.client.runtime.DisabledOidcClientException: 'Default' client configuration is disabled
```

The problem only occurs if I start the application, run the code that uses oidc client and then shut it down.
It doesn't occurs if I just start the application and then shut it down.


### Expected behavior

_No response_

### Actual behavior

_No response_

### How to Reproduce?

_No response_

### Output of `uname -a` or `ver`

_No response_

### Output of `java -version`

_No response_

### GraalVM version (if different from Java)

_No response_

### Quarkus version or git rev

_No response_

### Build tool (ie. output of `mvnw --version` or `gradlew --version`)

_No response_

### Additional information

_No response_

Changed files:
extensions/oidc-client/runtime/src/main/java/io/quarkus/oidc/client/runtime/OidcClientRecorder.java

diff --git a/extensions/oidc-client/runtime/src/main/java/io/quarkus/oidc/client/runtime/OidcClientRecorder.java b/extensions/oidc-client/runtime/src/main/java/io/quarkus/oidc/client/runtime/OidcClientRecorder.java
index 58c5b1e234d..70a586ce339 100644
--- a/extensions/oidc-client/runtime/src/main/java/io/quarkus/oidc/client/runtime/OidcClientRecorder.java
+++ b/extensions/oidc-client/runtime/src/main/java/io/quarkus/oidc/client/runtime/OidcClientRecorder.java
@@ -217,7 +217,6 @@ public Uni<Tokens> refreshTokens(String refreshToken) {
 
         @Override
         public void close() throws IOException {
-            throw new DisabledOidcClientException(message);
         }
     }
 }