Unfortunately if you lose your internet connection mid game, Origin closes the game immediately. You lose all XP/progress you have made in the game since you launched it.
Steam had its share of problems when it launched and it looks like Origin is exactly the same, except the tool isn't there to make our gaming lives better but to stop piracy without giving a crap about the gaming experience.