the unhappy mayor and city council members were forced to listen to the miners for hours , as they complained about how the town needed to get a sheriff who would do his job and protect their property , rather than ride off into the country when he was most needed .