prevent panic when replaying on closed channel