While you have it displaying the codes just disconnect the jumper wire and the stored codes will reset. After you do this try and retrieve the codes again to check that they have cleared. Then drive the car for about 20 miles and follow up to see if the problem arrises again.