I would definitely recommend getting out of the airport if your connection is that long. There are plenty of things you can do in the general vicinity of the airport that will be much nicer than hanging around for 10 hours. This forum should have quite a few discussions on the top. Or, you can find a day-use hotel room to rest up.