Change response.abort to response.end