HttpConnect.close is removed. Use HttpConnect.catchError instead