I don't think any code right now is equipped to deal with regenerate_id failing. When would that happen and what one is supposed to do in that case? Note that 100% of existing code would assume it worked and happily proceed with the session.