Sex offender arrested after failing to register