boolean loginAttempted = false;
while (true)
{
try
{
HttpRequestBase executeMethod = getInitializedGetMethod(getGetNamespacesURL());
ExecuteGetNamespacesThread t = new ExecuteGetNamespacesThread(httpClient,executeMethod,namespaces);
try
{
t.start();
t.join();