[api] Add `#close`