Add "-w" flag to "close" command in dex/rc