almost connecting to server