do not crash on failed connect