test while connection failing