Added a lock file so that while tail is running you don't accidently
dispense.