JAK-STAT signaling maintains homeostasis in T cells and macrophages