Trying to fix lock sync issues, decrease waittime
Create lockfile if it doesn't exist