[BUGFIX beta] Sync router.js, closes #4399, retry() bug