bin/map: Also consume asynchronous tasks before closing the DB connection (this is where most if not all tasks will be consumed)
bin/map: Also consume asynchronous tasks before closing the DB connection (this is where most if not all tasks will be consumed)