Moved the post-done transfer reset responsibility to transfer.c.