Minor bug. When no endpoint is reachable a NullReferenceException is sometimes included as the inner exception instead of the actual exception.