Refined logic for shutdown/startup/recovery. New tool txnpdctrl which will eventually be able to send control messages to any txnpd instance.