what happens to me is this:
I fill the survey in odk collect in mobile
I send the survey to formhub
I know that the survey arrives to formhub and it resends it via http post
then I got the error in the mobile
so it seems that the problem is that formhub doesn't respond in time to odk collect in mobile after resending the survey, so the survey remains in my mobile, if I try to send it again it duplicates the data in the server.