wrap unit of work to a process