Some firmware cannot tolerate a web session being active during a rename. Make sure logout has been done, and give a retry if needed to let the session close out after logging out.