[Reduction] #540: close

Now with DOS error codes.