rakefile: check internet connection only on request. speedup rake startup and minify server load