renamed closeable to cancellable