Fix Scoreflex.Realtime.Session.setMaxRetries function