Sex offender who avoided jail term lives yards away from school