keep connected when reopen application