Switched from async.js to a custom solution