Add close method to Connection.
Return None for empty collection names.