A time-out based resilient token transfer algorithm for mutual exclusion in computer networks