You can switch to the status window you want to close (see
/help /scon) and then use the /window -c "Status Window" command.
I.g.: /scon
2 /window -c "Status Window"
This will make the followings commands to be performed on the 2nd connection opened (if i'm not mistaken)
Hope this helps!
Zyzzyx.