We discovered the problem. We are using CodeBook and during development we run the program by "DO Main". VFP then creates extra file handles for every class used!
We now have to test the app by creating an .exe and running that file.
Thanks to all for your suggestions.
Mario