remove registered agent from server config