Fixed so one dont have to wait 30 seconds if the connection has already failed.