Merge "Add error check when init RS thread in sync mode."