Hopefully fixed a bug in the SessionManager, by forcing post to sessions
endpoint on error and a retry on post error.