changing vmin and only checking for internet connection after sending a string