prevent panic when replaying on closed channel
Merge pull request #686 from bradrydzewski/master

prevent panic when replaying on closed channel