Flush cache manager on kernel and command exception, too