prevent error when can not relogin to FTP