I would cancel first so there is no question regarding the timing of the cancelation. Alternatively, you could fill out the refund request form first and then cancel before the 24 hour mark (assuming they don't respond to your refund request before then).