remove .exit from SQL task solution