pub async fn run_health_check_command(port: u16) -> Result<(), Box<dyn Error>>
Perform a health check and exit with appropriate code This is designed to be used as a Docker health check command