Changed PoolWorker Interface for DoWork function