close the DB rows in GET