make IP search cancellable