Bug 741: work around selectOnClose=64