Hi @Hamado Dene, please could you open an GitHub issue and share a test case for this?
The only thing I can see that might help in your example is that your upgrade stub should probably return a 101 response status rather than 200, but nonetheless I’m surprised WireMock is closing the connection. It shouldn’t by default if the client is configured to reuse them.