I would never, under any circumstances, tell my interviewer to "stay on topic." How should I know what he believes to be relevant? If he no longer wants to quiz me on my abilities as a developer but would rather discuss the airspeed velocity of swallows, I would assume that he has a reason for doing so, and I would gladly share with him with my limited knowledge of avian aeronautics.