curl pre-test connectivity