Return bool when truncating db table

Return false if any part of the truncating process fails.