If your time is precious and you didn't book the ticket in advance, plan your visit later in the day.
My own experience was I entered the gallery 1.5 hours before the closing time, there were no lines and no waiting times as well as avoiding the crowds inside the gallery.


