fix race condition when trying to assert closed channel on the server side