Try to make a http request and send later if can't connect to server