Support task timeout