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.
Merge pull request #1 from grahamc/patch-1

Allow subsequent runs of plugin.