clearinterval after disconnect
algo de frontend