There is in caching going on. Sounds like the dbo file was still open by your runtime app and could not be overwritten.

No idea what the app is doing with no UI nor why you could not kill it. Sounds strange.