Fixed single-thread issue on Eclipse Juno.