cleanup dump of large num of links