check if buffer still exists in url-retrieve callbacks