close session lock file