Starting to add 'prepareForStop()' functionality for more graceful shutdown