cleanup file lock creation, no need to close there