add maxretrynumber of driver in worker and master