Fixed crash when firs connection attempt fails