Adding transaction management to the discover task and use the EMF provider