You should not keep the window----- A opened B open