docker wait stdout fix