DCC send/chat sessions are not related to or rely on an IRC network, so they are not treated as belonging to a specific connection.

To close a window of a specific CID, use /window -c @cidhere