support command expiration and attempts control