prevent multiple alert view from popping up due to internet connection
still a but when running with no connection.