Weird idea: how about implementing process hearbeat and we would rely on it. Condition to invalidate lock: **IF** last heartbeat happened a long time ago (longer than timeout value) **THEN** invalidate lock.