Add assocReply() automatically when closing a pipeline