Avoid race conditions when starting webui using oq
Avoid race conditions when starting webui using oq


Former-commit-id: 723772b39a062a26a18e1753639d6947a9b792c4 [formerly de1f4b44596ff625f7719614d790f8e4f753de3f]
Former-commit-id: ba38be3582dca2fdb26500807e2eec5e44305edb
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine