Query timeout UI work