[Git][gajim/gajim][gajim_1.3] ChatControlBase: Fix race condition when closing with ESC