implicit close windows that have created by commands