Testing timeout for pub/sub