# OpenSessions in Sleeping Mode

**URL:** <https://discuss.hangfire.io/t/opensessions-in-sleeping-mode/7730>\
**Category:** bug?\
**Created:** [August 31, 2020, 7:29am UTC](https://discuss.hangfire.io/t/opensessions-in-sleeping-mode/7730 "2020-08-31T07:29:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibracos](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/ibracos/32/1843_2.png) [@ibracos](https://discuss.hangfire.io/u/ibracos)\
**Post date:** [August 31, 2020, 7:29am UTC](https://discuss.hangfire.io/t/opensessions-in-sleeping-mode/7730/1 "2020-08-31T07:29:21Z")

</div>

Hi,

We have open session problem. We are using hangfire on MsSQL server. I am assumed that in use of ExecuteKeepAliveQuery metod session sleeping mode problems occurs.In SqlServerDistributedLock method a new connection opens, but I couldn’t see any dispose for this connection. Could you support us and give response? We have ProLicense.

 ![hangfire](https://europe1.discourse-cdn.com/flex017/uploads/hangfire/original/2X/6/69663b7d60c8de2511c9b1a34965e78fd1338c14.png)
