Add option to refresh metadata on a timer

Default to off, since it's not clear if the load of many clients refreshing
regularly might be a problem.

As discussed on #144