s3:smbXsrv_open: add function smbXsrv_open_cleanup()