once we pick up corda v3, we can tie into the method i put into corda to help us know when to shut down.