properly cleared errno on traceback clear