add function free_queue_current_connections