discovery: fix gateway timeout