cleanup around reloading and starting