title: Android RX - Observable.timer only firing once
body: <p>So I am trying to create an observable which fires on a regular basis, but for some reason which I cannot figure out, it only fires once. Can anyone see what I am doing wrong?</p>
  
  <pre><code>Observable&lt;Long&gt; observable = Observable.timer(delay, TimeUnit.SECONDS, Schedulers.io());
  
          subscription =  observable
                  .subscribeOn(Schedulers.io())
                  .observeOn(AndroidSchedulers.mainThread())
                  .subscribe(new Action1&lt;Long&gt;() {
                      @Override
                      public void call(Long aLong) {
                          searchByStockHelper.requestRemoteSearchByStock();
                      }
                  });
  </code></pre>
  
  <p>currently delay is set to 2</p>