Allow subsequent runs of plugin.

The old method would run once and then fail to run in
the agent afterwards. Adding the connect() into the
run() allows the agent to run the checks multiple times.