prevent LoggingPrintStream to deadlock
Enhanced JbpmJUnitBaseTestCase to identify runtime managers and changed visibility of some variables