Local man in standoff with cops for 7 hours