prevent subscribing twice to the same database for changes