Updated to recycle session ids.