made whether printviasocket prints in a separate thread configureable by passed-in "printInSeparateThread" parameter