cancel task in a executor