discard max retry mechanism
lock expires to avoid deadlock