Control Mechanisms in Queueing Systems with Nonlinear Waiting Costs