silence Coverity memory leak warnings
fix ambiguous variable naming
increase limit for ttl_repl_maintenance.js to make it more reliable