When are they fed? May I suggest feeding them in the evening? Perhaps an hour before you want them to go in (while it's still light enough for them to see).
I did this with my flock a couple of times because, like you, my chickens were very interested in partying until the sun went down and...