An upper bound for the waiting time for nonlinear degenerate parabolic equations