Mark  LOCK's commands as persisted in order to allow the clean process to free the command memory.
Fix concurrent error in the core's timeout mechanism