Use `close` event and drop 0.8