utputstream is now flushed at shutdown