Best practice is to:
1) disconnect all users
2) close all databases
3) stop the services
I would hazard a guess that you are not closing the files before stopping the server.
Note that if there are many users or the files are large then it could take several minutes to close the files. FMS needs time to flush the caches and write the data to disk. Forcing the server to close can damage the files.