Hello,
Queue members status is different from the device status, a queue member is a queue member and it does not care about the real device status. If you have a static queue member, it is "static":that means always logged. You should switch to dynamic members or use agent channels if you want to "login" and "logout" agents.