So, it would be better first to check the connection and if there are some problems then provide user with appropriate message?