**Describe the bug** `_RPClient.__init__` [sets](https://github.com/reportportal/client-Python/blob/develop/reportportal_client/aio/client.py#L1368) `self.own_client = False` even when own `Client` is created, so `close()` [doesn't](https://github.com/reportportal/client-Python/blob/develop/reportportal_client/aio/client.py#L1772) close the aiohttp session. **Steps to Reproduce** ```python from reportportal_client import ClientType, create_client rp = create_client(ClientType.ASYNC_BATCHED, "http://localhost:8080", "project", api_key="key") rp.create_task(rp.client.session()).blocking_result() rp.close() print(rp.own_client, rp.client._session) # False <ClientSession ...> ``` **Expected behavior** `own_client` is `True` and the session is closed. **Actual behavior** `own_client` is `False` and the session stays open (`Unclosed client session` exception is raised on garbage collection). **Package versions** reportportal-client 5.7.12
Activity