better log messages, clean cache during stop()