Add timeout to subscribe