fixed potential issues at http.sys closing, in LVCL mode