Do not modify window list during termination