Removed close_database when predictor gets deleted.