Bug fix (ORACLE_OLD on Windows - resulted in multiple entry per line output due to no locking used)
Fix for an Issue #656