Add delay to aborting task in demo