Add a timeout to async examples