dont continue after error connecting