Handle Session Id Duplicates
Currently a duplicate session ID crashes the system. These often happen from parallel requests. In order to fix this problem, the system will now retry the save up to 5 times in order to trigger an update rather than an insert.