Reset the success flag appropraitely