Preventing Brokenpipeerror In Python 3 When Flushing Dnmtechs

Preventing Brokenpipeerror In Python 3 When Flushing Dnmtechs