#276 Clear the bitmap cache when exiting the application