Try adding

DEFINE HSER_CLROERR 1 ' Clear error automatically when encountered