Personally, I'd say walking away from returning the car no later than 5:30p. I probably would try to be dropping off the car between 5-515. Yes, I know it doesn't take that long to return the car, but I like to build "pad" in.
If you have pre-check, that could save some time.