Only try to refresh client if app uses autoupdate

Because that's where the SIGUSR2 handler is.

Arguably this should be some more abstract interface where packages can
say "I have a handler for client refresh", but whatever.

Fixes #3365.