question about lock file or the "return -1"