SIGTERM does not completely stop pydio cells, but SIGINT does

Hi,

I’m testing pydio cells 2.0.1 and noticed that sending it a SIGINT results in cells terminating successfully. However if I send it a SIGTERM, half the processes terminate, but the other half hang.

Here’s the console entries: https://pastebin.com/Zbi3rLcx where on lines 2-15 it displays the normal running processes. On line 16, I send a SIGTERM, as you can see between 17-25, half the processes remain. Then I send a SIGINT on 26 and all processes terminate.

Here’s the cells log following the SIGTERM: https://pastebin.com/fCnPCmZu

And here’s the cells log after the SIGINT (new user not allowed a third link, so I’ll post in a code block):

2019-12-12T01:45:16.829Z        INFO    pydio.grpc.tasks        Run Job flush-mailer-queue on timer event Iso8601Schedule:"R/2012-06-04T19:25:16.828696-07:00/PT5M"
2019-12-12T01:45:16.829Z        INFO    pydio.grpc.tasks        Run Job actions.auth.prune.tokens on timer event Iso8601Schedule:"R/2012-06-04T19:25:16.828696-07:00/PT5M"
2019-12-12T01:45:16.932Z        ERROR   pydio.grpc.tasks        cannot run action actions.cmd.rpc: {"id":"","code":0,"detail":"all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp 172.27.0.2:42299: connect: connection refused\"","status":""}        {"OperationUuid": "flush-mailer-queue-d091159e"}
2019-12-12T01:45:16.932Z        ERROR   pydio.grpc.tasks        cannot run action actions.auth.prune.tokens: {"id":"","code":0,"detail":"all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp 172.27.0.2:44927: connect: connection refused\"","status":""}      {"OperationUuid": "actions.auth.prune.tokens-482933a4"}
2019-12-12T01:45:19.065Z        INFO    Disconnecting broker
2019-12-12T01:45:19.065Z        INFO    Stopping all services
2019-12-12T01:45:19.065Z        INFO    Exiting
root@pydio-cells:/#

If I just send it a SIGINT while it’s running normally, all processes terminate just fine.

Thanks