So I’ve been battling with this issue for quite some time now. Every time I try to log out of Gnome Shell it simply freezes for anywhere between 10 and 30 seconds or so.
This has been grinding my gears and finally I’ve stumbled upon this reddit post. And you know what?
Turns out they are right! Removing Caffeine extension immediately resolves this issue.