public static void addSample(JSONObject jsonObject) {
        try {
            samplesQueue.put(jsonObject);
        } catch (InterruptedException ie) {
            BmLog.error("Failed to add sample to uploader: Interruptedexception");
        }
    }