Fix concurrency issue in IPeer::IsReady implementation

Change-Id: I16b6b07a2ae2f80fea7fac6b1e2655be58c497e8