Let the user cancel expensive operations.