The pilot will know what tasks he has to finish before takeoff, and he won't allow a visit to interfere with that. It would be bad form for someone to linger AFTER the pilot is nice enough to show you around. If you're about to stay too long, you'll get a polite reminder.