Problem logout agent

Hi
I have a problem with the agent logout process.
I can login an agent in a queu using *11 and agent numbre and password, but while typing * 12 to logout an agent and I hear “Agent Logout”, but it remains “In use” in the queue.
Can you help me?