Add {async: false} option to publishing