Fix concurrency issue in IPeer::IsReady implementation

Change-Id: Iddef5c55f38f9880bcdfc7c7e6515a03eb37b780