You can use the the fpolicy monitor add CLI command to configure a file policy to monitor file close operations.
This CLI command can add the close file operations to the list of monitored events for CIFS and NFS requests.