Fix concurrency issue in IPeer::IsReady implementation

Change-Id: Iac0b66c2b26fa71592052391f3f21c98fbb7b0e9