I think `window.close()` was a reason why memory was actually released. I'd rather not touch this until it's a problem.