If the intent is to have task and wait on them check out a simple example which has two task and uses Task.WaitAll I have here, otherwise
best to start with a smaller code sample.
Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
NuGet BaseConnectionLibrary for database connections.