As a backend developer I often dropdb, createdb + repopulate when I come back to the object view I have to right click and refresh, even though I have a new database with exactly the same name as the previous one.
It would be good if pgadmin4 could (optionally) try and reconnect at least once - if I do something in the object view + it's lost it's connection.
This would be good in other work-related circumstances too - there's a VPN and so I periodically have to reconnect things, and pgadmin is yet another place I have to do a reconnection ceremony that I'd like to have automated.