daemon: correctly end a running trans3_commit if the client disconnects.