Officer Michael McCarty is under investigation