This seems to work very well but it seems like only MongoDB is receiving the SIGTERM signal and not Consul.