Fix handling notifications when application process has been killed #87