SpaceX capsule hits snag on resupply mission to space station