Plug memory leaks in Collection: #finish prepared statements.