For all blocking model API (waitForXXX), enable the user to provide his own "PrintStream" to output verbose information