Don't start recurring job until previous job has finished

I have got some hints in this discussion thread. here is the link Recurring job doesn't wait last triggered job to finish
I keep getting lock acquire failed. I am still working on it to get around this issue.