Made the whole addSubscription() method synchronized (probably wasn't
thread-safe before)