Avoid memory leak when lookup is called many times.
block with a timeout