Now sending ChatLeave when closing the program