Fix concurrency issue in IPeer::IsReady implementation

Change-Id: Ic23a1189309d670e44f22a085ef481bc50679fcf