SWAT standoff ends when man shocked with TASER