[JBTM-2203] Use Deque for ThreadActionData

!BLACKTIE