The Taliban have warned Pakistan that they would stage more attacks if the army did not end an offensive in South Waziristan , where the military has dispatched about 30,000 troops to flush out insurgents .