Set a timeout of 5 seconds on the connection

In case the URL is wrong, this will not hang startup.
Filter out Staged tasks

We don't want to load-balance across tasks that aren't started.