reverted changes in the ConnectionPrivider

except for one Thread.sleep(100), now set to 500 in line 368