Appleton man ends 10 hour standoff with police