Formation and Stability of a Memory State in the Immune Network