Homotopy groups of complements and nonisolated singularities