Library to manage long runnning tasks