context manager for connection was added