Handle failing notifications 

Fixes #54.