Clean up stdout outputs