Re-use single connection to perform update task; put try/except block for update logic; print proper message in case of failure and successful update