Fix concurrency issue in IPeer::IsReady implementation

Change-Id: I60fecc79a95fdf88518cef7cca3ca83ca3c57acc