DockerLogInput: use RWMutex instead of Mutex