Closing writers and readers at the end
Merge pull request #525 from AndyScherzinger/dev

Closing writers and readers at the end