Man arrested after six-hour standoff