close the chat by setting the status closed when visitor leaves