COR-294: Connection leaks and connection pool disabled in ssl

https://jira.exoplatform.org/browse/COR-294