catch exception when trying to remove observer that does not exist