handle case where specified listener is not registered in call to unregisterListener
Merge pull request #20 from mattoshry/master

handle case where specified listener is not registered in call to unregisterListener