WD-40 isn't really a good penetrating fluid. Try Kroil or PB blaster or make your own with a 50/50 mix of acetone and that leftover brake fluid that's been sitting in an unsealed can for the past couple of years.
You didn't say how much heat. If it's really rusted together, you might need more than just a propane torch.