Retry monitor installation if npm fails

Warning : not tested !