Release subscriptions correctly (closes #85)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>