SignalR extension to help retry connecting to server if initialization fails on startup. Also provides more convenient unit testing interface.