Removes a specific node from the queue.
the node to remove from the queue.
if the node is not in the queue.