Let domainIsolate perform domainit requires.
Create new instances of middleware each time to enable using customized middleware instances in the future.
Add taskStart and taskComplete events.