allow sequential thread cancelling