Always check the restaurant hours ahead of time, especially if you think you'll be arriving late. There's nothing the waitstaff (and kitchen) dreads more than a party that arrives ten minutes before closing, especially after a long workday. If they can't accommodate you, simply accept it and move on. Whatever you do, don't leave a bad online review because they wouldn't serve you.