discovery: fix gateway timeout

use `EtcdIndex`?