Make webmessaging tests more robust against timing variations.