Fix concurrency issue in IPeer::IsReady implementation

Change-Id: I4db0edaf72ca06161e722322c7a861715e826147