made it so the Connected method can indicate whether or not the connection should die