Officers had contact with the man before he died