Finishes AJAX realtime chat.