SAP Message BCOMEC015 - Deregistration is not possible since still registered in queue

Diagnosis
You are still registered in a queue. You cannot deregister yourconnection &V1& until you have deregistered from the queue.
Further information on the external software component:
V3

System Response
The function was not executed.

Procedure
Deregister from the queue. Then call the function 'deregister' again.

Procedure for System Administration
The error can occur in 2 different places:
1. In the connected gateway
2. In the underlying CTI software
In this case the error occurred in (&V4&).
The return code for the underlying CTI software is: &V2&