How to use parallel.foreach to update multiple records in databse? I am using parallel.foreach but it is giving dataabse connection errors. How this can be resolved?