dispatch all waiting readers on close, fixes #4