Make ticketlog query async