In most cases the program (process) is still running and accessing files and then writing to these is forbidden.