Revert "Refactored server side wait for async pub"

This reverts commit f7a502f1fb6df77d6568a501a6c030b7a0292629.
Revert "EZP-22641: Wait for async publishing on upload"

This reverts commit 47111723da7ffb4c099ab6f9b44900548063e7ed.