[sr-dev] race condition on log to stderr