Locking in redo-log to tell if the process is still running