Add cancel API to HSFCatcher.