Add TRY_LOCK back to peertablemodel