Fix concurrency issue in IPeer::IsReady implementation

Change-Id: I503706587fba5716b66a33e251a66482132a2517