disable resize window event handler after shell closes