adds code to make prototypes keep trying to connect to localnet