WAIT_FOR_SESSION_TIMEOUT_MS of 2ms was too tight for 2 poll iterations at 1ms intervals — setTimeout precision caused the budget to expire before the 2nd getTask call. Bumped to 50ms.