add more util methods for ConnectionHub class