created connection mantainer thread