JBIDE-14852 test failures in Seam (JavaEE)

Implemented wait for ClassPathMonitor.build() since different jobs call it.