Added the TaskQueue API that allows to handle tasks async.