parameters: (self, callback)
docstring: Should be called only after open() returns
docstring_summary: Should be called only after open() returns
docstring_tokens: Should be called only after open () returns
function: def set_close_callback(self, callback):
          """
          Should be called only after open() returns
          """
          self.stream.set_close_callback(callback)
function_tokens: def set_close_callback ( self , callback ) : self . stream . set_close_callback ( callback )