Add exit status to notification time calculation