Reverted the change which introduced deletion of the lock file.