Sheriff drops lawsuit against county board