Former corrections officer sentenced to 5 years for repeatedly tasing restrained detainee