Whilst I agree that's annoying, doesn't it beg the question "why not start and end gigs half an hour earlier?"
The railways need to accommodate changes to staff shift patterns, track maintenance and scheduled freight services late at night. I'm guessing most gig staff are casual/infrequent so could change work patterns more easily.