Prevent connection subscribing to same graph multiple times.

Fixes #20.