update install script to retry npm install once