Add delay cancel function and test on board