Bug 357 fixed: improve checking when SO rest is up