an attemp to make the same behaviour of async.js series and parallel