[Jason, Evgeny] fixed duplicate messages caused by pattern subscribers, related to #26, partially solved