add logic to stop timer when user disconnect