The function pane-close-display closes the X display connection on which pane is currently displayed. This destroys all the other panes on the same connection.
closedp is true if the connection was closed.
Note:
pane-close-display
works on X only, and not on MS Windows.