Fixed bool connect_canceled not being initialized