fix stub deprecation
smaller timeout in daemon loop spec