The same exact scenario is bothering us as well. Any improvements in this case will be very helpful. We're deleting the sqlite files every 4 hours to be able to make it work most of the time, but a better permanent solution would be nice.