Should we try `((ManagementContextInternal)managementContext).terminate()` first, for a more graceful shutdown?