Move Connect.stat logging to the end of the connection
Move Connect.stat logging to the end of the connection

It's more reasonable to log as soon as the connection closes, instead of
waiting for delivery to be complete.

simta/simta,simta/simta,simta/simta