make data connection considering timeout