improved connection management interface