Abstracted try-connection into common api.

Projector uses the TryConnection api specifying initial and maximum interval.
worker routines in projector use TryConnection() api.