Added a finish event after closing the write stream.