Removed unnecessary warn log message in PortalEventBus
Fixed some shutdown bugs in gateway
Fixed that portal would hang during shutdown if gateways are connected