Adds a timeout for deref-ing.