finish dispatcher thread