Docker compose down took 10s per container, because I didn't use exec to start the daemons in the entrypoints.
Also: this didn't improve de time to go down in dns-client, which has 'sleep infinity' as its entrypoint, but this container can easily be stopped by using a sigkill in stead of a sigterm.