Chunk server: fix handling of theoretically possible recursion in remote sync state machine enqueue method.