https fix bootstrap not shutdown