IDEA-107265 IDEA 12 1 3 Hang while re index project libraries
(cherry picked from commit f4ba07c) [r=Peter.Gromov]