Fix concurrency issue in IPeer::IsReady implementation

Change-Id: I5a61a7753f819f51b12d2ff86be86bc2d95ba521