Exposing SessionID and Close(bool) for easier implementation of connection pooling.