More error handling for blocknotify