Adding threading for stdout and stderr processing
Adding threading for stdout and stderr processing, need to add queueing for prevent stdout and stderr overlaps