added shutdown hook for the conductor, but it's not yet fully operational.