Add cancel() in BatchRunTimeOut