# how can I avoid connection pools for a single scenario?

**URL:** <https://community.gatling.io/t/how-can-i-avoid-connection-pools-for-a-single-scenario/6286>\
**Category:** Gatling (Open-Source)\
**Created:** [October 19, 2021, 11:56pm UTC](https://community.gatling.io/t/how-can-i-avoid-connection-pools-for-a-single-scenario/6286 "2021-10-19T23:56:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liat\_Dremer\_Barda](https://avatars.discourse-cdn.com/v4/letter/l/dec6dc/32.png) [@Liat\_Dremer\_Barda](https://community.gatling.io/u/Liat_Dremer_Barda)\
**Post date:** [October 19, 2021, 11:56pm UTC](https://community.gatling.io/t/how-can-i-avoid-connection-pools-for-a-single-scenario/6286/1 "2021-10-19T23:56:11Z")

</div>

I want to run a dew scenarios, but for one of the scenarios i want the http connection pools to be disabled (or if i fail with a time out I want the connection to be reset)  
is there a way to run this?

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [October 20, 2021, 7:59am UTC](https://community.gatling.io/t/how-can-i-avoid-connection-pools-for-a-single-scenario/6286/2 "2021-10-20T07:59:51Z")

</div>

Set connection header to close, see [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection)
