implemented better is_closed() for Sender