[PATCH v2 41/43] test: Add a section for closing the connection