When redis is shutdown, it should work.
improving locking process