Police involved in 4-hour standoff connected to homicide