Added timeout override to the distributedlock class.