Nonlinear response to an external AC drive near the Kosterlitz Thouless phase transition