should probably use .done, .then will trigger even if the connection start fails.