relay client: prevent reentrancy, speed up tests

This makes it safe to poll faster, since we won't allow multiple
outstanding polling GETS. Speeding up the polling interval (for tests)
from 2Hz to 100Hz shaves two seconds (about 30%) off the test suite.