wait on condition instead of time
Merge branch 'master' of https://github.com/stfnsche/loom-java