Which server are you having?
You can SSH to iDRAC IP and try below command to see the open sessions details
racadm getssninfo
If there are open sessions then you can run below command to close iDRAC sessions
racadm closessn -a
If the problem did not solved with above step please reset iDRAC with below command
racadm racreset