I need help integrating $$\int_{-\infty}^{\infty}\frac{z \sin (z)}{\left(z^2+1\right) \left(z^2+2\right)} \mathrm{d}z$$
I calculated the integral over the closed upper half circle in the complex plane which is $\pi(\sinh(\sqrt2) - \sinh(1))$.
Then if I calculate the integral over $z = R e^{i\phi}$ for $\phi \in [0, \pi]$, and do the limit $R$ to $\infty$, the integral must be zero. And it follows that
$$\int_{-\infty}^{\infty}\frac{z \sin (z)}{\left(z^2+1\right) \left(z^2+2\right)}\mathrm{d}z = \pi(\sinh(\sqrt2) - \sinh(1))$$
But Wolfram Alpha says this is false.
What did I do wrong?