Added threaded connection establishing
merging