This is quite a long timeout for a test. E.g. `test_rpc` uses timeouts of 1 second. Can we get away with something shorter?