A method to be called when the task is finished.
Updates the metrics being collected for the connector after writing each single statement.
whether the statement succeeded or not
the statement - either bound or batch
the time when the write task has been submitted
the time when the write task has been really executed