if post fails, save it in MainClient object to try again later