SQL 2019 Linux, slow at GUI fast at sqlcmd/Query Analyzer
Auto close was found to be the culprit and it was decided to turn off this option for all databases. Express edition have this feature on by default.