Man arrested after 2-hour standoff with deputies