util/when test: enforcing a minimum wait timeout

Without the 10 ms waits() call, firefox seems to fail on travis