fix docker wait