Added check for presence of colon in hostname which doesn't come in case circuit is open on single host.