Added new tests to TimeoutOutputStream for writing after a stream is
closed. Documentation enhancements.