If cells fail to boot, it creates hundred of staled mysql connections

cells fails to boot (Failed to initialize OIDC server: server: no connectors specified), also I can’t fix the source of the issue, I noticed that after a minute or so I started getting:
failed to initialize storage: failed to open migrations: creating dex_migration table: Error 1040: Too many connections.

# mysqladmin  processlist|grep -c pydio
151

(All of them are in Sleep state, the Command column)