Evaluate using contour the integral $\displaystyle\int_\mathbb{R}\left(\dfrac{\sin(x)}{x}\right)^2dx\;$
I am using the the boundaries of a large semicircle with radius $R$ and a small semicircle with radius $\varepsilon$ for the contour and the integration over the contour breaks into four parts. I am stuck at evaluating at the piece along the small circle, namely: $$\int_\gamma\left(\frac{\sin(z)}{z}\right)^2 dz = - \int_0^\pi \frac{e^{2i\varepsilon e^{i\theta}}}{\varepsilon^2 e^{2i\theta}}i\varepsilon e^{i\theta} d\theta$$ It appears to me that the integral on the right hand side is zero due to the extra power of $\varepsilon$ on the denominator as $\varepsilon \rightarrow 0$.
I wonder how we deal with this problem?