don't understand the goal of this method. it does exactly the same thing as awaitUntilCommitted() but without the print.
why the print is needed??