how does immune system work together with the circulatory system