Fix peer close test.

Change-Id: I9255b995f2832ced5bb9f519b360fdf3d5fe0ae6
Fix peer close test.

Change-Id: Ica5419420ff169fbabd3fc0cc725808177c3e70e