When trying to disconnect an iSCSI session from the Microsoft iSCSI Initiator software, you may get the following error:
Log Off from Session
The session cannot be logged out since a device on that session is currently being used.
This error is caused by access to an iSCSI target. Prevent all access to the iSCSI target before attempting to disconnect the iSCSI session.