Fix async task addition to queue