Makes more robust a transiently failing smoke test: test_activate_instrument.py

* Uses poll to fix a test that fails sometimes when things run slowly.