attempt to fixe bug with Re-login(killed daemon issue)