work around "prepared statement ... already exists" errors creating tickets from self-service API at the cost of performance, RT#27856