Trying to fix a race condition in an IO reactor test