Separated output streams into individual threads. NOTE: Segfaults occur during a close