Well depending on how long the que is, you may have to
wait a while before it's your turn .. the dcc window probably
closed because you were idle/not typing anything and you
probably saw a message that said something like
Closing idle connection in 30 seconds ...before the window closed. You just have to be patient and
wait for your turn in the que.
Edit: Oh, and you may want to read this.